<ui:composition
 xmlns="http://www.w3.org/1999/xhtml"
 xmlns:ui="http://java.sun.com/jsf/facelets"
 xmlns:f="http://java.sun.com/jsf/core"
 xmlns:h="http://java.sun.com/jsf/html"
 xmlns:rich="http://richfaces.org/rich">
 <style type="text/css"> @import url("/resources/css/style.css"); </style>

<h:commandLink action="order" immediate="true">
<h:panelGrid columns="1" border="0" rules="all" title="Resume de mon panier" width="250px">
  <!-- <rich:panel id="panierSummary" >-->
   <h:panelGroup rendered="#{boutiqueBacking.order.size != 0}" >
   	<h:graphicImage value="/resources/images/cart.gif" />
	<h:outputLabel value="Votre panier contient #{boutiqueBacking.order.size} article(s)" styleClass="panier"/>
	</h:panelGroup>
   <h:panelGroup rendered="#{boutiqueBacking.order.size == 0}" >
   <h:graphicImage value="/resources/images/cart.gif" />
	<h:outputLabel value="Votre panier est vide" align="right" styleClass="panier"/>
	</h:panelGroup>
	<!-- <h:panelGroup>
		<h:commandLink action="order" immediate="true" value="voir"/>
	</h:panelGroup>-->
 <!-- </rich:panel>-->
</h:panelGrid> 
</h:commandLink>
<h:panelGroup rendered="#{boutiqueBacking.order.size != 0}" >
	<h:outputLabel value="Montant du panier : #{boutiqueBacking.order.total} Euros" styleClass="panier"/>
</h:panelGroup>

</ui:composition>


